package com.lonely.common.enums;

import lombok.Getter;

/**
 * 用户状态
 *
 * @author fzzf
 */
@Getter
public enum UserStatus {

    /**
     * 启用
     */
    ENABLED(0, "正常"),

    /**
     * 停用
     */
    DISABLE(1, "停用"),

    /**
     * 离职
     */
    RESIGN(2, "离职");

    private final int code;
    private final String info;

    UserStatus(int code, String info) {
        this.code = code;
        this.info = info;
    }
}
